﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace Player
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        //public static string ConnectionString = "Data Source=SUPER-PC\\SQLEXPRESS;Initial Catalog=Default-First-Site-Name@HunkDNS.Test-AuditStore-2011-07-04;Integrated Security=True";
        //public static string SessionId = "ccade27f-bd87-4f35-8a5a-1b7914937dc3";
        //public static string ConnectionString = "Data Source=HUNK\\DIRECTAUDIT3;Initial Catalog=AuditStore-2012-02-06;Integrated Security=True";
        //public static string SessionId = "8d244aa1-a93f-499d-853a-50e53c39ff53";
        public static string ConnectionString = "Data Source=HUNK\\DIRECTAUDIT3;Initial Catalog=AuditStore-2012-02-03;Integrated Security=True";
        public static string SessionId = "d45cc6ae-8319-49ee-b711-a0feb2d5cbd0";

        public App()
        {
        }

        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            Application.Current.DispatcherUnhandledException += new System.Windows.Threading.DispatcherUnhandledExceptionEventHandler(Current_DispatcherUnhandledException);
        }

        void Current_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
        {
            MessageBox.Show("Current_DispatcherUnhandledException");
        }
    }
}
